package com.nervenets.general.enumeration;

import io.swagger.annotations.ApiModel;

@ApiModel("消息重要级别")
public enum MessageImportanceLevel implements Enums {
    normal("普通"),
    warning("警告"),
    error("错误");

    private final String text;

    MessageImportanceLevel(String text) {
        this.text = text;
    }

    @Override
    public String getText() {
        return text;
    }

    @Override
    public String getValue() {
        return this.name();
    }
}
